<?php

class User_Model_DbTable_Role extends Custom_Db_Table_Abstract
{

    public $_name = 'vt_roles';

	protected $_dependentTables = array('User_Model_DbTable_User');


	const ADMIN_USER	= 1;
	const REGISTER_USER = 2;

	public function getOptions()
	{
		$options = array();

		foreach($this->getAll() as $value)
		{
			$options[$value['id']] = $value['name'];
		}

		return $options;
	}


}

